﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace xml
{
    public partial class Information : UserControl
    {
        public Information()
        {
            InitializeComponent();
        }
        public Information(string title, string author, string description, string pubDate,string link,int num)
        {
            InitializeComponent();
            titleT.Text = title;
            authorT.Text = author;
            descriptionWebB.DocumentText = description;
            pubDataT.Text = pubDate;
            counterT.Text = num.ToString();
            linkL.Text = link;
        }

        private void linkL_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start(linkL.Text);
        }

      
    }
}
